TEMPLATE = app
include(../config.pri)
TARGET = dietsystem.wt
DIETSYSTEM_BASE = ../
DESTDIR = $$DIETSYSTEM_BASE/bin
DEPENDPATH += . \
    inc \
    src
INCLUDEPATH += . \
    inc \
    src

# Wt
INCLUDEPATH += /usr/local/include/Wt
LIBS += -lwtfcgi

CONFIG      += no_keywords # so Qt won't #define any non-all-caps `keywords'
INCLUDEPATH += . /usr/include/boost/
macx: LIBS   += /usr/local/lib/libboost_signals.a  # ...your exact paths may vary


# DbSession
INCLUDEPATH += $$DIETSYSTEM_BASE/dbsession/inc
LIBS += -L$$DIETSYSTEM_BASE/bin
LIBS += -ldbsession

# Input
HEADERS += MyWidget.h \
           inc/LoginWidget.h \
           inc/CommonWidget.h \
           PlanWidget.h \
           PersonalWidget.h \
           OtherWidget.h
SOURCES += MyWidget.cpp \
           src/LoginWidget.cpp \
           src/CommonWidget.cpp \
           src/MainStack.cpp \
           PlanWidget.cpp \
           PersonalWidget.cpp \
           OtherWidget.cpp

# Should be deleted ASAP!!! TODO
QT += sql
